<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/7/15
 * Time: 10:53
 */
//var_dump(Core::$urls['action']);
//exit;
switch (Core::$urls['action']) {
    case 'login':
        MyAdmin_Authority::doLogin();
        break;
    case 'logout':
        MyAdmin_Authority::doLogout();
        break;
    case 'register':
        MyAdmin_Authority::doRegister();
        break;
    default:
        Func_Header::notFound();
        break;
}